<template>
  <div class="container">
    <div style="text-align: center;font-size:.32rem;padding-bottom: 0.2rem;padding-top: .2rem;font-weight: bold"
         class="vux-1px-b">租房登记
    </div>
    <div class="form-wrap">
      <div class="input-item flex-row flex-y-center">
        <label>您的姓名：</label><input class="flex-grow-1" type="text">
      </div>
      <div class="input-item flex-row flex-y-center">
        <label><span class="red">*</span>您的电话：</label><input class="flex-grow-1" type="text">
      </div>
      <div class="input-item flex-row flex-y-center">
        <label>大概租金：</label><input class="commen" type="text"><span>元/月</span>
      </div>
      <div class="input-item flex-row flex-y-center">
        <label>大概面积：</label><input class="commen" type="text"><span>平方</span>
      </div>
      <div class="textArea flex-row flex-y-center">
        <label>大概面积：</label><textarea class="flex-grow-1"></textarea>
      </div>
    </div>
    <button class="submitBtn">提交</button>
  </div>
</template>

<script>
  document.title = '租房登记';
  export default {
    name: "RentingRegester"
  }
</script>

<style lang="less" scoped>
  .red {
    color: red;
    font-size: .3rem;
    vertical-align: middle;
  }

  .form-wrap {
    padding: .4rem;
    font-size: .28rem;
    .input-item {
      height: .8rem;
      padding-top: 0.1rem;
      padding-bottom: .1rem;
      label {
        display: inline-block;
        width: 1.6rem;
        text-align: right;
      }
      input {
        /*display: flex;*/
        /*flex: 1;*/
        padding-left: 5px;
        height: 100%;
        border: 1px solid #d9d9d9;
        border-radius: 3px;
        &.commen {
          width: 140px;
          margin-right: 4px;
        }
        &:focus {
          border-color: #007AFF;
        }
      }
    }

  }

  .textArea {
    margin-top: .1rem;
    label {
      display: inline-block;
      width: 1.6rem;
      text-align: right;
    }
    textarea {
      padding-top: 5px;
      padding-left: 5px;
      border: 1px solid #d9d9d9;
      border-radius: 3px;
      height: 50px;
      &:focus {
        border-color: #007AFF;
      }
    }
  }

  .submitBtn {
    width: 100%;
    height: 1rem;
    background-color: rgba(52, 146, 233, 0.6);
    color: #fff;
    font-size: .32rem;
    border: none;
    position: absolute;
    left: 0;
    bottom: 0;
  }

</style>